<#import "desktop.ftl" as d>
<#import "spring.ftl" as spring>

<@d.desktop "Index" true>

	<div class="left_block">
		
		<div class="block">
		<#list pairs as p>
			<#if p.pairId = user.tradingPair>
				<b>${p.firstCurrencyCode}/${p.secondCurrencyCode}</b> <#if p_has_next>|</#if>
			<#else>
				<a href="/switch_trading_pair.html?pairId=${p.pairId}">${p.firstCurrencyCode}/${p.secondCurrencyCode}</a> <#if p_has_next>|</#if>
			</#if>
		</#list>
		</div>
		
		<div class="block">
			<table cellpadding="0" cellspacing="0" width="100%">
				<tr>
					<td valign="top">
					
						<h3>Comprar ${indexPageModel.leftCurrencyCode}</h3>
						<table cellpadding="0" cellspacing="0" width="100%">
							<tr>
								<td>Balance</td>
								<td>Precio min.</td>
							</tr>
							<tr>
								<td><span class="blue">${indexPageModel.rightCurrencyCode} ${indexPageModel.rightAmountFormatted}</span></td>
								<td><b>${indexPageModel.rightCurrencyCode} ${indexPageModel.priceMinFormatted}</b></td>
							</tr>
						</table>
					
						<div class="separator-20px"></div>
						
						<form method="post" action="buy.html">
						<table cellpadding="0" cellspacing="0" width="100%" class="buy_sell">
							<tr>
								<td>Cantidad ${indexPageModel.leftCurrencyCode}:</td>
								<td>
									<input type="text" style="width: 110px;" name="buy_amount" id="buy_amount" />
								</td>
							</tr>
							<tr>
								<td>Precio por ${indexPageModel.leftCurrencyCode}:</td>
								<td>
									<input type="text" style="width: 110px;" name="buy_price" id="buy_price" />
									${indexPageModel.rightCurrencyCode}
								</td>
							</tr>
							<tr>
								<td>Total:</td>
								<td><b>${indexPageModel.rightCurrencyCode} 0</b></td>
							</tr>
							<tr>
								<td>Comisión:</td>
								<td><b>${indexPageModel.leftCurrencyCode} 0</b></td>
							</tr>
							<tr>
								<td colspan="2" align="right">
									<div class="separator-20px"></div>
									<button>Comprar ${indexPageModel.leftCurrencyCode}</button>
									<div class="separator-20px"></div>
								</td>
							</tr>
						</table>
						</form>
						
					</td>
					
					<td style="width: 10px;">&nbsp;</td>
					
					<td>
					
						<h3>Vender ${indexPageModel.leftCurrencyCode}</h3>
						
						<table cellpadding="0" cellspacing="0" width="100%">
							<tr>
								<td>Balance</td>
								<td>Precio max.</td>
							</tr>
							<tr>
								<td><span class="blue">${indexPageModel.leftCurrencyCode} ${indexPageModel.leftAmountFormatted}</span></td>
								<td><b>${indexPageModel.rightCurrencyCode} ${indexPageModel.priceMaxFormatted}</b></td>
							</tr>
						</table>
						
						<div class="separator-20px"></div>
						
						<form method="post" action="sell.html">
						<table cellpadding="0" cellspacing="0" width="100%" class="buy_sell">
							<tr>
								<td>Cantidad ${indexPageModel.leftCurrencyCode}:</td>
								<td>
									<input type="text" style="width: 110px;" name="sell_amount" id="sell_amount" />
								</td>
							</tr>
							<tr>
								<td>Precio por ${indexPageModel.leftCurrencyCode}:</td>
								<td>
									<input type="text" style="width: 110px;" name="sell_price" id="sell_price" />
									${indexPageModel.rightCurrencyCode}
								</td>
							</tr>
							<tr>
								<td>Total:</td>
								<td><b>${indexPageModel.rightCurrencyCode} 0</b></td>
							</tr>
							<tr>
								<td>Comisión:</td>
								<td><b>${indexPageModel.leftCurrencyCode} 0</b></td>
							</tr>
							<tr>
								<td colspan="2" align="right">
									<div class="separator-20px"></div>
									<button>Vender ${indexPageModel.leftCurrencyCode}</button>
									<div class="separator-20px"></div>
								</td>
							</tr>
						</table>
						</form>
						
					</td>
				</tr>
			</table>
		</div>
		
		<div class="block">
			
			<table cellpadding="0" cellspacing="0" width="100%">
				<tr>
					<td valign="top">
						
						<h3>Ordenes de venta</h3>
						
						<p style="color: #616161; text-align: right; margin-right: 20px;">
							Total ${indexPageModel.leftCurrencyCode}: 29426.24805695
						</p>
						
						<div class="table_h">
							<table cellpadding="0" cellspacing="0">
								<tr>
									<td style="width: 58px; padding-left: 5px;">Precio</td>
									<td style="width: 119px;">${indexPageModel.leftCurrencyCode}</td>
									<td style="width: 125px;">${indexPageModel.rightCurrencyCode}</td>
								</tr>
							</table>
						</div>
						<div class="depth">
							<table cellpadding="0" cellspacing="0">
								<tr onclick="set_price(1,13.129,1.78,23.36962)">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr class="table_r order" onclick="set_price(1,13.13,114.58594838,1504.51172222)" title="Total BTC: 114.58594838, Total USD: 1504.51172222">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr class="order" onclick="set_price(1,13.138,115.59594838,1517.78110222)" title="Total BTC: 115.59594838, Total USD: 1517.78110222">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr onclick="set_price(1,13.129,1.78,23.36962)">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr class="table_r order" onclick="set_price(1,13.13,114.58594838,1504.51172222)" title="Total BTC: 114.58594838, Total USD: 1504.51172222">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr class="order" onclick="set_price(1,13.138,115.59594838,1517.78110222)" title="Total BTC: 115.59594838, Total USD: 1517.78110222">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr onclick="set_price(1,13.129,1.78,23.36962)">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr class="table_r order" onclick="set_price(1,13.13,114.58594838,1504.51172222)" title="Total BTC: 114.58594838, Total USD: 1504.51172222">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr class="order" onclick="set_price(1,13.138,115.59594838,1517.78110222)" title="Total BTC: 115.59594838, Total USD: 1517.78110222">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr onclick="set_price(1,13.129,1.78,23.36962)">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr class="table_r order" onclick="set_price(1,13.13,114.58594838,1504.51172222)" title="Total BTC: 114.58594838, Total USD: 1504.51172222">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr class="order" onclick="set_price(1,13.138,115.59594838,1517.78110222)" title="Total BTC: 115.59594838, Total USD: 1517.78110222">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr onclick="set_price(1,13.129,1.78,23.36962)">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr class="table_r order" onclick="set_price(1,13.13,114.58594838,1504.51172222)" title="Total BTC: 114.58594838, Total USD: 1504.51172222">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr class="order" onclick="set_price(1,13.138,115.59594838,1517.78110222)" title="Total BTC: 115.59594838, Total USD: 1517.78110222">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr onclick="set_price(1,13.129,1.78,23.36962)">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr class="table_r order" onclick="set_price(1,13.13,114.58594838,1504.51172222)" title="Total BTC: 114.58594838, Total USD: 1504.51172222">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr class="order" onclick="set_price(1,13.138,115.59594838,1517.78110222)" title="Total BTC: 115.59594838, Total USD: 1517.78110222">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr onclick="set_price(1,13.129,1.78,23.36962)">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr class="table_r order" onclick="set_price(1,13.13,114.58594838,1504.51172222)" title="Total BTC: 114.58594838, Total USD: 1504.51172222">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr class="order" onclick="set_price(1,13.138,115.59594838,1517.78110222)" title="Total BTC: 115.59594838, Total USD: 1517.78110222">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr onclick="set_price(1,13.129,1.78,23.36962)">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr class="table_r order" onclick="set_price(1,13.13,114.58594838,1504.51172222)" title="Total BTC: 114.58594838, Total USD: 1504.51172222">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr class="order" onclick="set_price(1,13.138,115.59594838,1517.78110222)" title="Total BTC: 115.59594838, Total USD: 1517.78110222">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr onclick="set_price(1,13.129,1.78,23.36962)">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr class="table_r order" onclick="set_price(1,13.13,114.58594838,1504.51172222)" title="Total BTC: 114.58594838, Total USD: 1504.51172222">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr class="order" onclick="set_price(1,13.138,115.59594838,1517.78110222)" title="Total BTC: 115.59594838, Total USD: 1517.78110222">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr onclick="set_price(1,13.129,1.78,23.36962)">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr class="table_r order" onclick="set_price(1,13.13,114.58594838,1504.51172222)" title="Total BTC: 114.58594838, Total USD: 1504.51172222">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr class="order" onclick="set_price(1,13.138,115.59594838,1517.78110222)" title="Total BTC: 115.59594838, Total USD: 1517.78110222">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr onclick="set_price(1,13.129,1.78,23.36962)">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr class="table_r order" onclick="set_price(1,13.13,114.58594838,1504.51172222)" title="Total BTC: 114.58594838, Total USD: 1504.51172222">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr class="order" onclick="set_price(1,13.138,115.59594838,1517.78110222)" title="Total BTC: 115.59594838, Total USD: 1517.78110222">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr onclick="set_price(1,13.129,1.78,23.36962)">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr class="table_r order" onclick="set_price(1,13.13,114.58594838,1504.51172222)" title="Total BTC: 114.58594838, Total USD: 1504.51172222">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr class="order" onclick="set_price(1,13.138,115.59594838,1517.78110222)" title="Total BTC: 115.59594838, Total USD: 1517.78110222">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr onclick="set_price(1,13.129,1.78,23.36962)">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr class="table_r order" onclick="set_price(1,13.13,114.58594838,1504.51172222)" title="Total BTC: 114.58594838, Total USD: 1504.51172222">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr class="order" onclick="set_price(1,13.138,115.59594838,1517.78110222)" title="Total BTC: 115.59594838, Total USD: 1517.78110222">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr onclick="set_price(1,13.129,1.78,23.36962)">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr class="table_r order" onclick="set_price(1,13.13,114.58594838,1504.51172222)" title="Total BTC: 114.58594838, Total USD: 1504.51172222">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr class="order" onclick="set_price(1,13.138,115.59594838,1517.78110222)" title="Total BTC: 115.59594838, Total USD: 1517.78110222">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr onclick="set_price(1,13.129,1.78,23.36962)">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr class="table_r order" onclick="set_price(1,13.13,114.58594838,1504.51172222)" title="Total BTC: 114.58594838, Total USD: 1504.51172222">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr class="order" onclick="set_price(1,13.138,115.59594838,1517.78110222)" title="Total BTC: 115.59594838, Total USD: 1517.78110222">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr onclick="set_price(1,13.129,1.78,23.36962)">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr class="table_r order" onclick="set_price(1,13.13,114.58594838,1504.51172222)" title="Total BTC: 114.58594838, Total USD: 1504.51172222">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr class="order" onclick="set_price(1,13.138,115.59594838,1517.78110222)" title="Total BTC: 115.59594838, Total USD: 1517.78110222">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr onclick="set_price(1,13.129,1.78,23.36962)">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr class="table_r order" onclick="set_price(1,13.13,114.58594838,1504.51172222)" title="Total BTC: 114.58594838, Total USD: 1504.51172222">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr class="order" onclick="set_price(1,13.138,115.59594838,1517.78110222)" title="Total BTC: 115.59594838, Total USD: 1517.78110222">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr onclick="set_price(1,13.129,1.78,23.36962)">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr class="table_r order" onclick="set_price(1,13.13,114.58594838,1504.51172222)" title="Total BTC: 114.58594838, Total USD: 1504.51172222">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr class="order" onclick="set_price(1,13.138,115.59594838,1517.78110222)" title="Total BTC: 115.59594838, Total USD: 1517.78110222">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr onclick="set_price(1,13.129,1.78,23.36962)">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr class="table_r order" onclick="set_price(1,13.13,114.58594838,1504.51172222)" title="Total BTC: 114.58594838, Total USD: 1504.51172222">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr class="order" onclick="set_price(1,13.138,115.59594838,1517.78110222)" title="Total BTC: 115.59594838, Total USD: 1517.78110222">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr onclick="set_price(1,13.129,1.78,23.36962)">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr class="table_r order" onclick="set_price(1,13.13,114.58594838,1504.51172222)" title="Total BTC: 114.58594838, Total USD: 1504.51172222">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr class="order" onclick="set_price(1,13.138,115.59594838,1517.78110222)" title="Total BTC: 115.59594838, Total USD: 1517.78110222">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr onclick="set_price(1,13.129,1.78,23.36962)">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr class="table_r order" onclick="set_price(1,13.13,114.58594838,1504.51172222)" title="Total BTC: 114.58594838, Total USD: 1504.51172222">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr class="order" onclick="set_price(1,13.138,115.59594838,1517.78110222)" title="Total BTC: 115.59594838, Total USD: 1517.78110222">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr onclick="set_price(1,13.129,1.78,23.36962)">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr class="table_r order" onclick="set_price(1,13.13,114.58594838,1504.51172222)" title="Total BTC: 114.58594838, Total USD: 1504.51172222">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
								<tr class="order" onclick="set_price(1,13.138,115.59594838,1517.78110222)" title="Total BTC: 115.59594838, Total USD: 1517.78110222">
									<td style="width: 58px;">13.129</td>
									<td style="width: 119px;">1.78</td>
									<td style="width: 129px;">23.36962</td>
								</tr>
							</table>
						</div>
					</td>
					
					<td valign="top">
						
						
						<h3>Ordenes de compra</h3>
						
						<p style="color: #616161; text-align: right; margin-right: 20px;">
							Total ${indexPageModel.rightCurrencyCode}: 181126.11419697
						</p>
						
						<div class="table_h">
							<table cellpadding="0" cellspacing="0">
								<tr>
									<td style="width: 58px; padding-left: 5px;">Precio</td>
									<td style="width: 119px;">${indexPageModel.leftCurrencyCode}</td>
									<td style="width: 125px;">${indexPageModel.rightCurrencyCode}</td>
								</tr>
							</table>
						</div>
						<div class="depth">
							<table cellpadding="0" cellspacing="0">
							
								<#list indexPageModel.buyOrders as bo>
									<tr>
										<td style="width: 58px;">${bo.priceFormatted}</td>
										<td style="width: 119px;">${bo.amountFormatted}</td>
										<td style="width: 129px;">${bo.totalPriceFormatted}</td>
									</tr>
								</#list>
								
							</table>
						</div>
						
					</td>
				</tr>
			</table>
			<div class="separator-20px"></div>
		</div>
		
		<div class="block">
			
			<h3 style="padding-top: 10px;">Ordenes activas</h3>
			
			<table cellpadding="0" cellspacing="0" width="100%">
				<tr>
					<th>
						Tipo
					</th>
					<th>
						${indexPageModel.leftCurrencyCode}
					</th>
					<th>
						Precio
					</th>
					<th>
						Total ${indexPageModel.rightCurrencyCode}
					</th>
					<th>
						Fecha
					</th>
					<th>
						Acciones
					</th>
				</tr>
			</table>
			
			<div class="separator-20px"></div>
		</div>
		
		<div class="block">
		
			<h3 style="padding-top: 10px;">Historial</h3>
			
			<div class="table_h_orders">
				<table cellpadding="0" cellspacing="0">
					<tr>
						<td style="width: 120px">Fecha</td>
						<td style="width: 46px">Tipo</td>
						<td style="width: 130px">Precio</td>
						<td style="width: 167px">Cantidad (${indexPageModel.leftCurrencyCode})</td>
						<td style="width: 194px">Total (${indexPageModel.rightCurrencyCode})</td>
					</tr>
				</table>
			</div>
						
			<div class="history">
				<table cellpadding="0" cellspacing="0" width="100%">
					<tr>
						<td style="width: 120px;">
							<span title="14 мин. назад">27.12.12 06:06</span>
						</td>
						<td style="width: 46px;">Buy</td>
						<td style="width: 130px;">13.13 USD</td>
						<td style="width: 167px;">15.2211 BTC</td>
						<td style="width: 194px;">199.853043 USD</td>
					</tr>
					<tr>
						<td style="width: 120px;">
							<span title="14 мин. назад">27.12.12 06:06</span>
						</td>
						<td style="width: 46px;">Buy</td>
						<td style="width: 130px;">13.13 USD</td>
						<td style="width: 167px;">15.2211 BTC</td>
						<td style="width: 194px;">199.853043 USD</td>
					</tr>
					<tr>
						<td style="width: 120px;">
							<span title="14 мин. назад">27.12.12 06:06</span>
						</td>
						<td style="width: 46px;">Buy</td>
						<td style="width: 130px;">13.13 USD</td>
						<td style="width: 167px;">15.2211 BTC</td>
						<td style="width: 194px;">199.853043 USD</td>
					</tr>
					<tr>
						<td style="width: 120px;">
							<span title="14 мин. назад">27.12.12 06:06</span>
						</td>
						<td style="width: 46px;">Buy</td>
						<td style="width: 130px;">13.13 USD</td>
						<td style="width: 167px;">15.2211 BTC</td>
						<td style="width: 194px;">199.853043 USD</td>
					</tr>
					<tr>
						<td style="width: 120px;">
							<span title="14 мин. назад">27.12.12 06:06</span>
						</td>
						<td style="width: 46px;">Buy</td>
						<td style="width: 130px;">13.13 USD</td>
						<td style="width: 167px;">15.2211 BTC</td>
						<td style="width: 194px;">199.853043 USD</td>
					</tr>
					<tr>
						<td style="width: 120px;">
							<span title="14 мин. назад">27.12.12 06:06</span>
						</td>
						<td style="width: 46px;">Buy</td>
						<td style="width: 130px;">13.13 USD</td>
						<td style="width: 167px;">15.2211 BTC</td>
						<td style="width: 194px;">199.853043 USD</td>
					</tr>
					<tr>
						<td style="width: 120px;">
							<span title="14 мин. назад">27.12.12 06:06</span>
						</td>
						<td style="width: 46px;">Buy</td>
						<td style="width: 130px;">13.13 USD</td>
						<td style="width: 167px;">15.2211 BTC</td>
						<td style="width: 194px;">199.853043 USD</td>
					</tr>
					<tr>
						<td style="width: 120px;">
							<span title="14 мин. назад">27.12.12 06:06</span>
						</td>
						<td style="width: 46px;">Buy</td>
						<td style="width: 130px;">13.13 USD</td>
						<td style="width: 167px;">15.2211 BTC</td>
						<td style="width: 194px;">199.853043 USD</td>
					</tr>
					<tr>
						<td style="width: 120px;">
							<span title="14 мин. назад">27.12.12 06:06</span>
						</td>
						<td style="width: 46px;">Buy</td>
						<td style="width: 130px;">13.13 USD</td>
						<td style="width: 167px;">15.2211 BTC</td>
						<td style="width: 194px;">199.853043 USD</td>
					</tr>
					<tr>
						<td style="width: 120px;">
							<span title="14 мин. назад">27.12.12 06:06</span>
						</td>
						<td style="width: 46px;">Buy</td>
						<td style="width: 130px;">13.13 USD</td>
						<td style="width: 167px;">15.2211 BTC</td>
						<td style="width: 194px;">199.853043 USD</td>
					</tr>
					<tr>
						<td style="width: 120px;">
							<span title="14 мин. назад">27.12.12 06:06</span>
						</td>
						<td style="width: 46px;">Buy</td>
						<td style="width: 130px;">13.13 USD</td>
						<td style="width: 167px;">15.2211 BTC</td>
						<td style="width: 194px;">199.853043 USD</td>
					</tr>
					<tr>
						<td style="width: 120px;">
							<span title="14 мин. назад">27.12.12 06:06</span>
						</td>
						<td style="width: 46px;">Buy</td>
						<td style="width: 130px;">13.13 USD</td>
						<td style="width: 167px;">15.2211 BTC</td>
						<td style="width: 194px;">199.853043 USD</td>
					</tr>
					<tr>
						<td style="width: 120px;">
							<span title="14 мин. назад">27.12.12 06:06</span>
						</td>
						<td style="width: 46px;">Buy</td>
						<td style="width: 130px;">13.13 USD</td>
						<td style="width: 167px;">15.2211 BTC</td>
						<td style="width: 194px;">199.853043 USD</td>
					</tr>
					<tr>
						<td style="width: 120px;">
							<span title="14 мин. назад">27.12.12 06:06</span>
						</td>
						<td style="width: 46px;">Buy</td>
						<td style="width: 130px;">13.13 USD</td>
						<td style="width: 167px;">15.2211 BTC</td>
						<td style="width: 194px;">199.853043 USD</td>
					</tr>
					<tr>
						<td style="width: 120px;">
							<span title="14 мин. назад">27.12.12 06:06</span>
						</td>
						<td style="width: 46px;">Buy</td>
						<td style="width: 130px;">13.13 USD</td>
						<td style="width: 167px;">15.2211 BTC</td>
						<td style="width: 194px;">199.853043 USD</td>
					</tr>
					<tr>
						<td style="width: 120px;">
							<span title="14 мин. назад">27.12.12 06:06</span>
						</td>
						<td style="width: 46px;">Buy</td>
						<td style="width: 130px;">13.13 USD</td>
						<td style="width: 167px;">15.2211 BTC</td>
						<td style="width: 194px;">199.853043 USD</td>
					</tr>
					<tr>
						<td style="width: 120px;">
							<span title="14 мин. назад">27.12.12 06:06</span>
						</td>
						<td style="width: 46px;">Buy</td>
						<td style="width: 130px;">13.13 USD</td>
						<td style="width: 167px;">15.2211 BTC</td>
						<td style="width: 194px;">199.853043 USD</td>
					</tr>
					<tr>
						<td style="width: 120px;">
							<span title="14 мин. назад">27.12.12 06:06</span>
						</td>
						<td style="width: 46px;">Buy</td>
						<td style="width: 130px;">13.13 USD</td>
						<td style="width: 167px;">15.2211 BTC</td>
						<td style="width: 194px;">199.853043 USD</td>
					</tr>
					<tr>
						<td style="width: 120px;">
							<span title="14 мин. назад">27.12.12 06:06</span>
						</td>
						<td style="width: 46px;">Buy</td>
						<td style="width: 130px;">13.13 USD</td>
						<td style="width: 167px;">15.2211 BTC</td>
						<td style="width: 194px;">199.853043 USD</td>
					</tr>
					<tr>
						<td style="width: 120px;">
							<span title="14 мин. назад">27.12.12 06:06</span>
						</td>
						<td style="width: 46px;">Buy</td>
						<td style="width: 130px;">13.13 USD</td>
						<td style="width: 167px;">15.2211 BTC</td>
						<td style="width: 194px;">199.853043 USD</td>
					</tr>
					<tr>
						<td style="width: 120px;">
							<span title="14 мин. назад">27.12.12 06:06</span>
						</td>
						<td style="width: 46px;">Buy</td>
						<td style="width: 130px;">13.13 USD</td>
						<td style="width: 167px;">15.2211 BTC</td>
						<td style="width: 194px;">199.853043 USD</td>
					</tr>
					<tr>
						<td style="width: 120px;">
							<span title="14 мин. назад">27.12.12 06:06</span>
						</td>
						<td style="width: 46px;">Buy</td>
						<td style="width: 130px;">13.13 USD</td>
						<td style="width: 167px;">15.2211 BTC</td>
						<td style="width: 194px;">199.853043 USD</td>
					</tr>
					<tr>
						<td style="width: 120px;">
							<span title="14 мин. назад">27.12.12 06:06</span>
						</td>
						<td style="width: 46px;">Buy</td>
						<td style="width: 130px;">13.13 USD</td>
						<td style="width: 167px;">15.2211 BTC</td>
						<td style="width: 194px;">199.853043 USD</td>
					</tr>
					<tr>
						<td style="width: 120px;">
							<span title="14 мин. назад">27.12.12 06:06</span>
						</td>
						<td style="width: 46px;">Buy</td>
						<td style="width: 130px;">13.13 USD</td>
						<td style="width: 167px;">15.2211 BTC</td>
						<td style="width: 194px;">199.853043 USD</td>
					</tr>
					<tr>
						<td style="width: 120px;">
							<span title="14 мин. назад">27.12.12 06:06</span>
						</td>
						<td style="width: 46px;">Buy</td>
						<td style="width: 130px;">13.13 USD</td>
						<td style="width: 167px;">15.2211 BTC</td>
						<td style="width: 194px;">199.853043 USD</td>
					</tr>
					<tr>
						<td style="width: 120px;">
							<span title="14 мин. назад">27.12.12 06:06</span>
						</td>
						<td style="width: 46px;">Buy</td>
						<td style="width: 130px;">13.13 USD</td>
						<td style="width: 167px;">15.2211 BTC</td>
						<td style="width: 194px;">199.853043 USD</td>
					</tr>
					<tr>
						<td style="width: 120px;">
							<span title="14 мин. назад">27.12.12 06:06</span>
						</td>
						<td style="width: 46px;">Buy</td>
						<td style="width: 130px;">13.13 USD</td>
						<td style="width: 167px;">15.2211 BTC</td>
						<td style="width: 194px;">199.853043 USD</td>
					</tr>
					<tr>
						<td style="width: 120px;">
							<span title="14 мин. назад">27.12.12 06:06</span>
						</td>
						<td style="width: 46px;">Buy</td>
						<td style="width: 130px;">13.13 USD</td>
						<td style="width: 167px;">15.2211 BTC</td>
						<td style="width: 194px;">199.853043 USD</td>
					</tr>
					<tr>
						<td style="width: 120px;">
							<span title="14 мин. назад">27.12.12 06:06</span>
						</td>
						<td style="width: 46px;">Buy</td>
						<td style="width: 130px;">13.13 USD</td>
						<td style="width: 167px;">15.2211 BTC</td>
						<td style="width: 194px;">199.853043 USD</td>
					</tr>
					<tr>
						<td style="width: 120px;">
							<span title="14 мин. назад">27.12.12 06:06</span>
						</td>
						<td style="width: 46px;">Buy</td>
						<td style="width: 130px;">13.13 USD</td>
						<td style="width: 167px;">15.2211 BTC</td>
						<td style="width: 194px;">199.853043 USD</td>
					</tr>
					<tr>
						<td style="width: 120px;">
							<span title="14 мин. назад">27.12.12 06:06</span>
						</td>
						<td style="width: 46px;">Buy</td>
						<td style="width: 130px;">13.13 USD</td>
						<td style="width: 167px;">15.2211 BTC</td>
						<td style="width: 194px;">199.853043 USD</td>
					</tr>
					<tr>
						<td style="width: 120px;">
							<span title="14 мин. назад">27.12.12 06:06</span>
						</td>
						<td style="width: 46px;">Buy</td>
						<td style="width: 130px;">13.13 USD</td>
						<td style="width: 167px;">15.2211 BTC</td>
						<td style="width: 194px;">199.853043 USD</td>
					</tr>
					<tr>
						<td style="width: 120px;">
							<span title="14 мин. назад">27.12.12 06:06</span>
						</td>
						<td style="width: 46px;">Buy</td>
						<td style="width: 130px;">13.13 USD</td>
						<td style="width: 167px;">15.2211 BTC</td>
						<td style="width: 194px;">199.853043 USD</td>
					</tr>
					<tr>
						<td style="width: 120px;">
							<span title="14 мин. назад">27.12.12 06:06</span>
						</td>
						<td style="width: 46px;">Buy</td>
						<td style="width: 130px;">13.13 USD</td>
						<td style="width: 167px;">15.2211 BTC</td>
						<td style="width: 194px;">199.853043 USD</td>
					</tr>
					<tr>
						<td style="width: 120px;">
							<span title="14 мин. назад">27.12.12 06:06</span>
						</td>
						<td style="width: 46px;">Buy</td>
						<td style="width: 130px;">13.13 USD</td>
						<td style="width: 167px;">15.2211 BTC</td>
						<td style="width: 194px;">199.853043 USD</td>
					</tr>
					<tr>
						<td style="width: 120px;">
							<span title="14 мин. назад">27.12.12 06:06</span>
						</td>
						<td style="width: 46px;">Buy</td>
						<td style="width: 130px;">13.13 USD</td>
						<td style="width: 167px;">15.2211 BTC</td>
						<td style="width: 194px;">199.853043 USD</td>
					</tr>
					<tr>
						<td style="width: 120px;">
							<span title="14 мин. назад">27.12.12 06:06</span>
						</td>
						<td style="width: 46px;">Buy</td>
						<td style="width: 130px;">13.13 USD</td>
						<td style="width: 167px;">15.2211 BTC</td>
						<td style="width: 194px;">199.853043 USD</td>
					</tr>
					<tr>
						<td style="width: 120px;">
							<span title="14 мин. назад">27.12.12 06:06</span>
						</td>
						<td style="width: 46px;">Buy</td>
						<td style="width: 130px;">13.13 USD</td>
						<td style="width: 167px;">15.2211 BTC</td>
						<td style="width: 194px;">199.853043 USD</td>
					</tr>
					<tr>
						<td style="width: 120px;">
							<span title="14 мин. назад">27.12.12 06:06</span>
						</td>
						<td style="width: 46px;">Buy</td>
						<td style="width: 130px;">13.13 USD</td>
						<td style="width: 167px;">15.2211 BTC</td>
						<td style="width: 194px;">199.853043 USD</td>
					</tr>
					<tr>
						<td style="width: 120px;">
							<span title="14 мин. назад">27.12.12 06:06</span>
						</td>
						<td style="width: 46px;">Buy</td>
						<td style="width: 130px;">13.13 USD</td>
						<td style="width: 167px;">15.2211 BTC</td>
						<td style="width: 194px;">199.853043 USD</td>
					</tr>
				</table>
			</div>
			
			<div class="separator-20px"></div> 
			
		</div>
		
	</div>
	
	<div class="right_block">
		
		<div class="block">
			Index
		</div>
		
		<div class="block">
			Index
		</div>
		
		<div class="block">
			Index
		</div>
		
		<div class="block">
			Index
		</div>
		
		<div class="block">
			Index
		</div>
		
		<div class="block">
			Index
		</div>
		
	</div>
	
	<div style="clear: both;"></div>
	
	<div class="footer">
		Bla bla bla
	</div>
	
</@d.desktop>